SetWidth

Syntax

Screen:SetWidth(value)

Description

Resizes the width of the viewing Screen.

Note

This does not work on GNU/Linux.

Example

function main() {
  Screen:Show()
 
  Screen:SetWidth(640)  //resize the viewing Screen to 640x240
 
  Konsol:Delay(1000)  //pause for a second to read the message
}
www.konsolscript.org
© 2005-2011 KonsolScript Labs | All Rights Reversed | Licensed under GNU GPL | Designed by Mj Mendoza IV
http://www.sourceforge.net